<?php if(isset($debug_page) && $debug_page === TRUE): ?>
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">
<?php endif; ?>

<script type="text/javascript">
var pagerFilter = new Object;

<?php if(!empty($pager['filter'])): ?>
<?php foreach($pager['filter'] as $key => $item): ?>
pagerFilter.<?php echo $key; ?> = '<?php echo $item; ?>';
<?php endforeach; ?>
<?php endif; ?>
</script>

<!--pagination end-->